package com.grandtech.insurance.feign;

import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

@FeignClient(name = "api-spark-server", url = "")
public interface SparkService {

    @PostMapping("/spatial/doUniformityCheck")
    String doUniformityCheck(@RequestBody String json);

    @PostMapping("/spatial/doUniformityCheck1")
    JSONObject doUniformityCheck1(@RequestBody JSONObject json);

}

















